<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>snake-TypeScript</title>
</head>

<body>
  <!-- 视口总体区域 -->
  <main>
    <!-- 游戏界面区域 -->
    <div class="gameBox">
      <!-- 蛇的移动区域 -->
      <div class="playArea">
        <!-- 蛇 -->
        <div id="snake">
          <div></div>
        </div>
        <!-- 食物 -->
        <div id="food">
          <div></div>
          <div></div>
          <div></div>
          <div></div>
        </div>
      </div>
      <!-- 数据区域 -->
      <footer class="snake-data">
        <!-- 分数 -->
        <span>SCORE:<span id="score-panel">0</span></span>
        <!-- 等级 -->
        <span>LEVEL:<span id="level-panel">1</span></span>
      </footer>
    </div>
  </main>
</body>

</html>